package com.bifrost.model.ro.coupon;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;
import org.jetbrains.annotations.NotNull;

/**
 * @author rangf
 * @date 2018/5/7
 */
@Data
public class CouponTypeRO {

    private Long couponTypeId;

    @NotNull("优惠券类型状态不能为空")
    private boolean isArchived;

    @NotEmpty(message = "优惠券类型CODE不能为空")
    private String typeCode;

    @NotEmpty(message = "优惠券类型描述不能为空")
    private String typeDescription;

    @NotEmpty(message = "优惠券类型名称不能为空")
    private String typeName;

}

